'''
外层循环控制行数
内层循环控制列数
range(start, stop)
'''

for i in range(0,9):
    for j in range(0,i+1):
        print(f"{j+1}*{i+1}={(i+1)*(j+1)}",end="  ")
    print()

# for i in range(1,10):  # 1, 2, 3, 4, 5
#     for j in range(1, i+1): # i=1, range(1,2)
#         print(f'{j}x{i}={i*j}', end='  ')
#     print('')

